Since we don't reset the proto_csum_blank flag in the skb, the
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 14 Apr 2006 13:23:40 +0000 (14:23 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 14 Apr 2006 13:23:40 +0000 (14:23 +0100)
commit6afda10e40a2d9f7ca611f9363778784cbd382e3
tree85ec67f1641dd121455e82702d77a8e679e645f0
parente4287d87ae819e65b7bd4a074264c184959475d9
Since we don't reset the proto_csum_blank flag in the skb, the
checksum calculation gets done twice, which is not twice as good as
once.

With this patch, TCP/UDP checksum errors from dom0 are fixed, and
domUs can use TCP/UDP without turning off TX checksum offload.  Normal
non-VLAN bridged configs still work fine, tested with xm-test.

Signed-off-by: Jim Dykman <dykman@us.ibm.com>
linux-2.6-xen-sparse/net/core/dev.c